Skip to content

Commit

Permalink
coprocess: add RequestURI
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasinsaurralde authored and buger committed Jan 11, 2018
1 parent e3aef36 commit d1e10cf
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 39 deletions.
1 change: 1 addition & 0 deletions coprocess.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func (c *CoProcessor) ObjectFromRequest(r *http.Request) *coprocess.Object {
ResponseCode: -1,
},
Method: r.Method,
RequestUri: r.RequestURI,
}

object := &coprocess.Object{
Expand Down
31 changes: 19 additions & 12 deletions coprocess/bindings/python/coprocess_mini_request_object_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 36 additions & 27 deletions coprocess/coprocess_mini_request_object.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions coprocess/proto/coprocess_mini_request_object.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ message MiniRequestObject {
repeated string delete_params = 9;
ReturnOverrides return_overrides = 10;
string method = 11;
string request_uri = 12;
}

0 comments on commit d1e10cf

Please sign in to comment.