When making a conditional HTTP request where the server responds with a 304 (Not Modified) code, WebOne inserts a Content-Type header with webone/unknown-content-type.
This appears to be at least against the spirit of RFC7232 which suggests not returning additional metadata. In the case of the browser of the FreeGEOS project, I found that this would lead to incorrect behavior because the mime type would override the one stored in the cache (which is probably in itself a bug...).
Version: 0.16.3
When making a conditional HTTP request where the server responds with a 304 (Not Modified) code, WebOne inserts a
Content-Type
header withwebone/unknown-content-type
.This appears to be at least against the spirit of RFC7232 which suggests not returning additional metadata. In the case of the browser of the FreeGEOS project, I found that this would lead to incorrect behavior because the mime type would override the one stored in the cache (which is probably in itself a bug...).
Example: