Skip to content

Commit

Permalink
Some fixes for the previous update.
Browse files Browse the repository at this point in the history
  • Loading branch information
e3ndr committed Mar 29, 2023
1 parent ef6e9a7 commit ce4eb1d
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package co.casterlabs.sora.api.http;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Map;

import org.jetbrains.annotations.Nullable;

import co.casterlabs.rakurai.collections.HeaderMap;
import co.casterlabs.rakurai.io.http.HttpMethod;
import co.casterlabs.rakurai.io.http.HttpSession;
import co.casterlabs.rakurai.io.http.HttpVersion;
import lombok.Getter;
Expand Down Expand Up @@ -115,8 +115,8 @@ public int getPort() {
}

@Override
public HttpMethod getMethod() {
return this.wrap.getMethod();
public String getRawMethod() {
return this.wrap.getRawMethod();
}

@Override
Expand All @@ -129,4 +129,9 @@ protected String getNetworkIpAddress() {
return this.wrap.getRemoteIpAddress();
}

@Override
public InputStream getRequestBodyStream() throws IOException {
return this.wrap.getRequestBodyStream();
}

}

0 comments on commit ce4eb1d

Please sign in to comment.