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
In rails server, when a request has no ACCEPT field in the HEADER, it will regard it as html format (ref)
Since we are going to load the xml from remote, it would be better if we can setup the correct headers for server to determine which format should be responded.
In rails server, when a request has no
ACCEPT
field in the HEADER, it will regard it as html format (ref)Since we are going to load the
xml
from remote, it would be better if we can setup the correct headers for server to determine which format should be responded.Related code
wasabi/lib/wasabi/resolver.rb
Lines 43 to 50 in b2abe78
Possible code to setup the header
The text was updated successfully, but these errors were encountered: