mirror of
https://github.com/EDCD/EDDN.git
synced 2026-10-22 20:42:10 +03:00
docs/Developers: Compression needs Content-Encoding header
... not `Content-Type`.
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -128,8 +128,8 @@ compress this body then you MUST set a `Content-Type` header of
|
||||
`applicaton/json`.
|
||||
|
||||
You *MAY* use gzip compression on the body of the message, but it is not
|
||||
required. If you do compress the body then you **MUST* send a `Content-Type`
|
||||
header of `gzip` instead of `application/json`.
|
||||
required. If you do compress the body then you **MUST* send a
|
||||
`Content-Encoding` header of `gzip`.
|
||||
|
||||
**Due to issues when messages are compressed, form-encoded data is NO LONGER
|
||||
SUPPORTED as of 2022-06-16.**
|
||||
|
||||
Reference in new issue
Block a user