Changeset 14207


Ignore:
Timestamp:
Oct 20, 2013, 5:09:46 PM (8 years ago)
Author:
jordan
Message:

(trunk, web) #5500 - don't add the X-Transmission-Session-Id header if we don't have a value for it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/remote.js

    r14005 r14207  
    7070
    7171        appendSessionId: function(XHR) {
    72                 XHR.setRequestHeader('X-Transmission-Session-Id', this._token);
     72                if (this._token) {
     73                        XHR.setRequestHeader('X-Transmission-Session-Id', this._token);
     74                }
    7375        },
    7476
Note: See TracChangeset for help on using the changeset viewer.