Open edloidas opened 2 years ago
It would be nice if Request headers keys are stricter than string so code will be future proof for HTTP/2.
8.1.2.6. Malformed Requests and Responses
A malformed request or response is one that is an otherwise valid sequence of HTTP/2 frames but is invalid due to the presence of extraneous frames, prohibited header fields, the absence of mandatory header fields, or the inclusion of uppercase header field names.
I wonder how many times I've done this :) https://github.com/enonic/app-explorer/blob/master/src/main/resources/types/Request.d.ts
I keep forgetting there is no such thing as lowercasestring in typings yet.
Add
Request
andResponse
types under thelib-portal
types.