Changes between Initial Version and Version 1 of Ticket #12778, comment 1


Ignore:
Timestamp:
Dec 26, 2014, 8:50:10 AM (4 years ago)
Author:
dcf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12778, comment 1

    initial v1  
    1 [https://gitweb.torproject.org/pluggable-transports/meek.git/commitdiff/b1f6a7ece3adaf8a781a5a97877fcf0f20c736a7 b1f6a7ec] removed Content-Type from meek-client.
     1[https://gitweb.torproject.org/pluggable-transports/meek.git/commit/?id=b1f6a7ece3adaf8a781a5a97877fcf0f20c736a7 b1f6a7ec] removed Content-Type from meek-client.
    22
    3 I tried removing Content-Type [https://gitweb.torproject.org/pluggable-transports/meek.git/blob/b1f6a7ece3adaf8a781a5a97877fcf0f20c736a7:/firefox/components/main.js#l223 from the Firefox extension] (passing an empty string for the aContentType argument to [https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIUploadChannel#setUploadStream%28%29 nsIUploadChannel.setUploadStream], but it didn't work. Apparently setting an empty string also prevents the Content-Length header from being added, so the POST just hangs forever, at least on www.google.com.
     3I tried removing Content-Type [https://gitweb.torproject.org/pluggable-transports/meek.git/tree/firefox/components/main.js?id=b1f6a7ece3adaf8a781a5a97877fcf0f20c736a7#n223 from the Firefox extension] (passing an empty string for the aContentType argument to [https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIUploadChannel#setUploadStream%28%29 nsIUploadChannel.setUploadStream], but it didn't work. Apparently setting an empty string also prevents the Content-Length header from being added, so the POST just hangs forever, at least on www.google.com.
    44
    55I didn't try removing it from the Chrome extension.