-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make multipart parsing more forgiving: start-of-line and casing (#1164)
* Make multipart parsing more forgiving: start-of-line and casing I had a multipart response i wanted to parse, and julia failed to parse it. These changes let it parse: 1. The content-disposition was the _second_ line in each part, with the content-type coming first, so the `^` was failing to parse. 2. The `content-type:` key was lower-cased, not Title-Cased as expected. Dunno if these are generally correct, but they worked in my case. * Add unit test
- Loading branch information
Showing
2 changed files
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters