Skip to content

Commit

Permalink
AbstractServerHttpRequest constructor fix (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonifaido authored Nov 28, 2023
1 parent e0a49d6 commit 44f28cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static HttpHeaders parseHeaders(NaspHttpRequest request) {
}

public NaspServerHttpRequest(NaspHttpRequest request) {
super(URI.create(request.uri()), "", parseHeaders(request));
super(HttpMethod.valueOf(request.method()), URI.create(request.uri()), "", parseHeaders(request));
this.request = request;
}

Expand Down

0 comments on commit 44f28cb

Please sign in to comment.