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
GET /house-sitting/?page=1&available=&available=1&location=0&city%5Bid%5D=0&city%5Blocality%5D=&city%5Blocality_text%5D=&city%5Badministrative_area_level_2%5D=&city%5Badministrative_area_level_2_text%5D=&city%5Badministrative_area_level_1%5D=&city%5Badministrative_area_level_1_text%5D=&city%5Bcountry%5D=&city%5Bcountry_text%5D=&city%5Blatitude%5D=&city%5Blongitude%5D=&city%5Bzoom%5D=&city%5Bname%5D=®ion%5Bid%5D=0®ion%5Blocality%5D=®ion%5Blocality_text%5D=®ion%5Badministrative_area_level_2%5D=®ion%5Badministrative_area_level_2_text%5D=®ion%5Badministrative_area_level_1%5D=®ion%5Badministrative_area_level_1_text%5D=®ion%5Bcountry%5D=®ion%5Bcountry_text%5D=®ion%5Blatitude%5D=®ion%5Blongitude%5D=®ion%5Bzoom%5D=®ion%5Bname%5D=&country=&environment=&population=&period=0&date=2017-03-03&datestart=2017-03-03&dateend=2017-06-24&season=&duration=&isfd=&stopover= HTTP/1.1
But instead I got the query params in a different order than they appear in the source code:
GET /house-sitting/?region%5Bid%5D=0&city%5Blocality%5D=&city%5Blocality_text%5D=&city%5Badministrative_area_level_1_text%5D=®ion%5Badministrative_area_level_1%5D=&country=&season=&dateend=2017-06-24®ion%5Bcountry_text%5D=®ion%5Blocality%5D=&city%5Bzoom%5D=&city%5Blatitude%5D=&city%5Blongitude%5D=&city%5Bname%5D=&isfd=&datestart=2017-03-03&city%5Badministrative_area_level_1%5D=&location=0®ion%5Badministrative_area_level_2%5D=&city%5Badministrative_area_level_2_text%5D=&population=®ion%5Blatitude%5D=&duration=®ion%5Blongitude%5D=&environment=®ion%5Bzoom%5D=®ion%5Badministrative_area_level_2_text%5D=®ion%5Bname%5D=&date=2017-03-03®ion%5Badministrative_area_level_1_text%5D=&period=0&city%5Bcountry_text%5D=&city%5Bcountry%5D=&city%5Bid%5D=0&city%5Badministrative_area_level_2%5D=&page=1&stopover=&available=&available=1®ion%5Blocality_text%5D=®ion%5Bcountry%5D= HTTP/1.1
I ran a simple server like this
and ran this Clojure code:
like this
clj -Sdeps '{:deps {clj-http/clj-http {:mvn/version "3.12.3"} cheshire/cheshire {:mvn/version "5.11.0"}}}' -M main.clj
What I exected:
But instead I got the query params in a different order than they appear in the source code:
Sorry in advance if this is a dumb issue, I am a clojure noob but https://stackoverflow.com/questions/27876324/is-the-order-of-the-result-is-the-same-when-convert-map-to-vector-in-clojure says that clojure map literals retain insertion order.
The text was updated successfully, but these errors were encountered: