You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -122,7 +122,7 @@ After parsing an Authorization and building the RequestContent object from the H
122
122
if (authz != null) {
123
123
RequestContent.Builder requestContentBuilder = new RequestContent.Builder();
124
124
125
-
// call requestContentBuilder.setRequestLine(requestLine) then
125
+
// call requestContentBuilder.setRequestTarget(method, path) then
126
126
// for all request headers, requestContentBuilder.addHeader(name, value)
127
127
128
128
if (verifier.verify(challenge, requestContentBuilder.build(), authz)) {
@@ -170,7 +170,7 @@ but this specification does not define a method by which a client and server may
170
170
RequestContent
171
171
--------------
172
172
173
-
The RequestContent class represents the sign-able portion of an HTTP Request. This includes the request line (as in "GET /some/page.html?foo=bar HTTP/1.1") and all of the request headers, excluding the "Authorization" header.
173
+
The RequestContent class represents the sign-able portion of an HTTP Request. This includes the request target (as in "GET /some/page.html?foo=bar") and all of the request headers, excluding the "Authorization" header.
174
174
175
175
It is created using the RequestContent.Builder class:
176
176
@@ -179,8 +179,8 @@ It is created using the RequestContent.Builder class:
179
179
180
180
RequestContent.Builder requestContentBuilder = new RequestContent.Builder();
0 commit comments