mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Added opposite arrows for inbound http requests.
This commit is contained in:
parent
ca936d6630
commit
0e6f554e42
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ public class AttsResourceHandler extends ResourceHandler {
|
||||||
String method = baseRequest.getMethod();
|
String method = baseRequest.getMethod();
|
||||||
if (method.equals("GET")) {
|
if (method.equals("GET")) {
|
||||||
HttpURI uri = baseRequest.getUri();
|
HttpURI uri = baseRequest.getUri();
|
||||||
Util.sout(method + " " + uri);
|
Util.sout(method + " <- " + uri);
|
||||||
MultiMap<String> multimap = new MultiMap<String>();
|
MultiMap<String> multimap = new MultiMap<String>();
|
||||||
uri.decodeQueryTo(multimap);
|
uri.decodeQueryTo(multimap);
|
||||||
String[] pathSections = uri.getPath().split("/");
|
String[] pathSections = uri.getPath().split("/");
|
||||||
|
|
|
@ -37,7 +37,7 @@ public class SnapshotPushPostbackHandler extends AbstractHandler {
|
||||||
}
|
}
|
||||||
String projectName = parts[1];
|
String projectName = parts[1];
|
||||||
String postbackKey = parts[2];
|
String postbackKey = parts[2];
|
||||||
Util.sout(baseRequest.getMethod() + " " + baseRequest.getUri());
|
Util.sout(baseRequest.getMethod() + " <- " + baseRequest.getUri());
|
||||||
SnapshotPushPostbackContents postbackContents = new SnapshotPushPostbackContents(writeLatexDataSource, projectName, postbackKey, contents);
|
SnapshotPushPostbackContents postbackContents = new SnapshotPushPostbackContents(writeLatexDataSource, projectName, postbackKey, contents);
|
||||||
JsonObject body = new JsonObject();
|
JsonObject body = new JsonObject();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue