Skip to content

Commit

Permalink
Add HTTP method to middleware request object (#1386)
Browse files Browse the repository at this point in the history
Both JSVM and Coprocess. 

In addition, fixed missing "certificate" field.
  • Loading branch information
matiasinsaurralde authored and buger committed Jan 10, 2018
1 parent 4a89639 commit 5984788
Show file tree
Hide file tree
Showing 15 changed files with 255 additions and 333 deletions.
1 change: 1 addition & 0 deletions coprocess.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func (c *CoProcessor) ObjectFromRequest(r *http.Request) *coprocess.Object {
ReturnOverrides: &coprocess.ReturnOverrides{
ResponseCode: -1,
},
Method: r.Method,
}

object := &coprocess.Object{
Expand Down
2 changes: 1 addition & 1 deletion coprocess/bindings/python/coprocess_common_pb2.py

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

71 changes: 39 additions & 32 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.

Loading

0 comments on commit 5984788

Please sign in to comment.