Skip to content

Commit

Permalink
Fix: Include "Accept" header in demo XML requests
Browse files Browse the repository at this point in the history
- make it easier to point the demo at a backend server
  • Loading branch information
Daniel Schaffer committed Jan 27, 2020
1 parent 7d4da89 commit cc2ccb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demo/screens/HyperviewScreen.js
Expand Up @@ -58,6 +58,7 @@ export default class HyperviewScreen extends React.PureComponent {
headers: {
// Don't cache requests for the demo
'Cache-Control': 'no-cache, no-store, must-revalidate',
Accept: 'application/xml',
Pragma: 'no-cache',
Expires: 0,
...init.headers,
Expand Down

0 comments on commit cc2ccb7

Please sign in to comment.