Skip to content

rename userHeaders -> originHeaders and add additional test case#1229

Merged
Gabriella439 merged 2 commits intodhall-lang:masterfrom
timbertson:http-headers
Sep 21, 2021
Merged

rename userHeaders -> originHeaders and add additional test case#1229
Gabriella439 merged 2 commits intodhall-lang:masterfrom
timbertson:http-headers

Conversation

@timbertson
Copy link
Copy Markdown
Collaborator

As part of dhall-lang/dhall-haskell#2236 I settled on naming everything "origin headers" instead of inconsistently sometimes calling it "user headers" or "site headers". Apologies for the filename noise.

The additional test case ensures that remote imports are disallowed within $DHALL_HEADERS, as specified in #1206

@timbertson
Copy link
Copy Markdown
Collaborator Author

Hmm, the new test case doesn't actually fail because the test loader doesn't support *ENV.dhall files for failure cases yet 😞

@timbertson timbertson marked this pull request as ready for review September 20, 2021 11:52
@Gabriella439 Gabriella439 merged commit 472a679 into dhall-lang:master Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants