1f37dac810
Fix of the following bug: In case of multiple accept headers with same preference `preferredContentType` used to select the first match within content types provided by the application. For example, if user specifies accept headers `application/octet-stream, application/json` and application provides `application/json, application/octet-stream`, `application/octet-stream` will be returned, and that is a bug. Now the procedure returns the most suitable match according to the application preferences. |
||
---|---|---|
.. | ||
httpagent.nim | ||
httpbodyrw.nim | ||
httpclient.nim | ||
httpcommon.nim | ||
httpserver.nim | ||
httptable.nim | ||
multipart.nim | ||
shttpserver.nim |