You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/libtextsecure
Lilia d1f7f5ee8c Fix json parsing exceptions obscuring server errors (#1605)
I got a 413 (Rate limit exceeded) error from the server while fetching prekeys.
The client tried to parse the response as json since we expect json from the
prekey endpoint, which threw an exception because the response was not json.
This change prevents us from treating the response as json unless it has the
Content-Type header set accordingly.

If for some reason, the client and server disagree on whether the response
should be or is json, we'll default to treating it as text.

// FREEBIE
8 years ago
..
storage Cache messages on receipt, remove from cache when processed 8 years ago
test Profiles (#1453) 8 years ago
ProvisioningCipher.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
account_manager.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
api.js Fix json parsing exceptions obscuring server errors (#1605) 8 years ago
components.js Update autosize, which should fix stack overflow error (#1560) 8 years ago
contacts_parser.js Profiles (#1453) 8 years ago
crypto.js Profiles (#1453) 8 years ago
errors.js Decrypt any IncomingIdentityKeyError still sticking around 8 years ago
event_target.js Animated loading screens on startup and first conversation load 8 years ago
helpers.js Move, rename, and simplify toArrayBuffer helper 9 years ago
key_worker.js Remove erroneous license file and headers 10 years ago
libsignal-protocol.js Set messageKeysLimit to unlimited if communicating with our devices (#1348) 8 years ago
message_receiver.js Better handling of online/offline behavior, socket shutdown (#1593) 8 years ago
outgoing_message.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
protobufs.js Protobufs: More logging on failure to load protobufs, fix tests 8 years ago
protocol_wrapper.js Update libsignal-protocol v0.9.0 9 years ago
sendmessage.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
storage.js Remove erroneous license file and headers 10 years ago
stringview.js Remove erroneous license file and headers 10 years ago
sync_request.js Add logging to help track down problems with Sync 8 years ago
task_with_timeout.js createTaskWithTimeout: Don't log expiration if task threw (#1412) 8 years ago
websocket-resources.js Better handling of online/offline behavior, socket shutdown (#1593) 8 years ago