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
On development one of my scenario is to develop - one URL pattern to handle both usual verbs and OPTIONS verbs to allow CORS request for that specifi URL. Probably one of the way is to implement http.custom type for handle this request. But this request doesn't need any server side processing. only some common task as this. we can get the options request done from the gateway without sending it to server. For this we need the processed runtime.Patterns that are auto generated from the proto file. I was able to do this by hand by writing a file in same paclkage with *.pb.gw.go as i couldn't find anything to get the processed patterns. But this looks dirty.
it would be good if there is a way that can return those process Patterns.
The text was updated successfully, but these errors were encountered:
Just doing a little bit of tidying. I hope that your question was answered in a way that let your project continue. If you have any more questions feel free to open another issue.
On development one of my scenario is to develop - one URL pattern to handle both usual verbs and OPTIONS verbs to allow CORS request for that specifi URL. Probably one of the way is to implement http.custom type for handle this request. But this request doesn't need any server side processing. only some common task as this. we can get the options request done from the gateway without sending it to server. For this we need the processed runtime.Patterns that are auto generated from the proto file. I was able to do this by hand by writing a file in same paclkage with *.pb.gw.go as i couldn't find anything to get the processed patterns. But this looks dirty.
it would be good if there is a way that can return those process Patterns.
The text was updated successfully, but these errors were encountered: