Tags: owainhunt/vapor
Tags
make httpserver init public (vapor#2761) Co-authored-by: Sami Suteria <sami@no.dev>
Fix request decompression (vapor#2766) (vapor#2768) * Fix request decompression (vapor#2766) * Revert change causing vapor#2766
Adds default file support to FileMiddleware (vapor#2678) * Adds default file support to FileMiddleware * Adds support for absolute default files Also adds tests for this usage and refactors to improve code readability * Update Sources/Vapor/Middleware/FileMiddleware.swift Co-authored-by: YR Chen <stevapple@icloud.com> Co-authored-by: Tim Condon <0xTim@users.noreply.github.com> Co-authored-by: YR Chen <stevapple@icloud.com>
Add definition for application/json-seq (vapor#2740) * Add an HTTPMediaType definition for the RFC7464 application/json-seq content type. Also fixes minor errors in a couple of comments. * Ditch all that fancy `getcidata` stuff in favor of just specifying the Linux and macOS CI separately for now so we can actually add the rpath workaround sensibly. We'll fix centralized CI eventually, promise.
fixed request-body-description (vapor#2732) Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
Fix empty password in basic authorization parsing (vapor#2730) * Fix empty password in basic authorization parsing * Add a test for empty password in basic auth Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
HTTP Authorization header scheme is case-insensitive (vapor#2733) * Added tests for lowercased bearer and basic authorization headers * Ensured that the authorization headers are comparing the bearer and basic tokens case-insensitively Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
Add a new test method to XCTApplicationTester returns a response dire… …ctly (vapor#2725) * Add a new method to XCTApplicationTester that tests and returns an XCTHTTPResponse directly * Rename new method to `sendRequest(…)` Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
Without a public initializer, the Link HTTP header support is effecti… …vely read-only, which was not intended. Make the initializer public. (vapor#2728)
PreviousNext