This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 160
Trim excess whitespace from post body #22
Closed
magnars
wants to merge
24
commits into
pashky:master
from
magnars:trim-excess-whitespace-from-post-body
Closed
Trim excess whitespace from post body #22
magnars
wants to merge
24
commits into
pashky:master
from
magnars:trim-excess-whitespace-from-post-body
Conversation
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
Added autoload statements
add autoload for 'restclient-mode
add trailing line required by package.el
…he Content-Type response header. If there's no specified decoding, default to UTF-8.
…pport Handling of different encodings
…upport Avoid decoding if HTTP response is an image.
added PATCH and make sure null is not converted to ""
url.el variables, so it doesn't double these headers with default values.
See updated README.md for details.
Support for in-buffer variables
Entities with content-type application/atom+xml were not prettified as XML, this should fix that.
Prettify application/atom+xml as XML
The application/atomcat+xml media type is described in RFC 5023, and should be formatted as XML.
Format application/atomcat+xml as XML
The way restclient handles post body, leaves some whitespace at the end. I'm using an API now that doesn't trim properly. This fixes that.
looks good. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The way restclient handles post body, leaves some whitespace at the end.
I'm using an API now that doesn't trim properly. This fixes that.
Hopefully people aren't relying on sending spaces and newlines at the end of a post body. What do you think?