We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently there is no way to work with mime types in requests that are not of the hard-coded types.
For example text has only this https://github.com/oakserver/oak/blob/master/request.ts#L26
text
A rawBody method would help future proof the API so it can used to read raw bytes.
rawBody
Additionally providing a way to inject different text mime-types would also be good for the safe body method.
body
The text was updated successfully, but these errors were encountered:
Fixed in a380e12
I did a couple of changes:
request.body()
type
"raw"
Uint8Array
request.body(true)
"reader"
Deno.Reader
app.bodyContentTypes
.body()
Sorry, something went wrong.
No branches or pull requests
Currently there is no way to work with mime types in requests that are not of the hard-coded types.
For example
text
has only this https://github.com/oakserver/oak/blob/master/request.ts#L26A
rawBody
method would help future proof the API so it can used to read raw bytes.Additionally providing a way to inject different text mime-types would also be good for the safe
body
method.The text was updated successfully, but these errors were encountered: