Carlana
Carlana
I vote against headers. It has a lot of strikes against it: poor discoverability, new developers often don’t know how to use them, makes CORS harder, makes it hard to...
See https://github.com/carlmjohnson/versioninfo for a sample project that parses build info on Go 1.18 without breaking in old versions of Go.
There is a test that checks URL query encoding: https://github.com/apex/gateway/blob/master/request_test.go#L38 Are you sure the request itself isn't double encoded? Gateway should be properly decoding things AFAICT.
I'm not sure I follow. RawQuery is supposed to have % stuff in it. If you want the version without % encoding, do `u.Query().Get("phone")`. It sounds like the issue is...
Yes, the raw URL should have percentages in it. APIGatewayProxyRequest is not a raw URL. The percentages should already have been turned into decoded values when being added to event.QueryStringParameters...
I've been looking but can't find any documentation. Did you find AWS documentation? Or just do an experimental setup? If an experiment, what does you gateway look like?
I think your LB needs to do the decoding then before it builds the JSON.
Thanks. I updated the minimum in my fork: https://github.com/carlmjohnson/gateway/releases/tag/v1.22.1
I have a fork, https://github.com/carlmjohnson/gateway. I am actively using my fork, so if there’s a bug in it, I’d like to know. I’m not working on new features, however.
No, those commits are all for features I’m deliberately not taking.