Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Trim excess whitespace from post body #22

Closed

Conversation

magnars
Copy link
Contributor

@magnars magnars commented Feb 12, 2014

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?

pashky and others added 24 commits April 18, 2012 23:52
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.
…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.
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.
@stardiviner
Copy link

looks good.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants