Description
3.0.2 spec section Support for x-www-form-urlencoded Request Bodies:
To submit content using form url encoding via RFC1866, ...
And, RFC1866 section 8.2.1 The form-urlencoded Media Type:
The form field names and values are escaped: space characters are replaced by `+', and then reserved characters are escaped as per [URL]
Indicates that using encoding specified in RFC1738 and a special treatment on space character
While according to HTML 5.2 section 4.10.21.6 URL-encoded form data:
See the WHATWG URL specification for details on application/x-www-form-urlencoded. [URL] ...
Which says:
Note: URLs can be used in numerous different manners, in many differing contexts. For the purpose of producing strict URLs one may wish to consider [RFC3986] [RFC3987] ...
So, please consider using RFC3986 instead of RFC1738, RFC1738 is too old(December 1994).