Skip to content

Conversation

@SoftwareEngineerChris
Copy link
Contributor

This PR allows the Content-Type HTTP header to be set when using the data HttpResponse.

@Vkt0r
Copy link
Member

Vkt0r commented May 18, 2020

@SoftwareEngineerChris Thanks for taking the time to create this PR. Please rebase from the latest changes related to the CI to be able to review this.

@SoftwareEngineerChris
Copy link
Contributor Author

Sorry for the delay @Vkt0r. The actions have run, but it looks like the Danger job failed because it doesn't have an API key set.

@Vkt0r
Copy link
Member

Vkt0r commented Jun 15, 2020

Uhmm interesting 🤔, the project is exposing the secret successfully.

Found these keys in your ENV: GITHUB_JOB, GITHUB_EVENT_PATH, **DANGER_GITHUB_API_TOKEN**, ...

But this looks like an issue with Danger danger/danger#685. I'll take a look at Danger soon to try to reproduce this issue running it locally. Thanks for reporting this 👍.

@SoftwareEngineerChris
Copy link
Contributor Author

Cheers @Vkt0r - is there anything I can do?

@Vkt0r
Copy link
Member

Vkt0r commented Jul 10, 2020

@SoftwareEngineerChris Sorry for the delay! In the meantime we figure out the issue with Danger can please add your change to the CHANGELOG following the template you will see there? As soon as this is done we can merge this PR.

@SoftwareEngineerChris
Copy link
Contributor Author

@SoftwareEngineerChris Sorry for the delay! In the meantime we figure out the issue with Danger can please add your change to the CHANGELOG following the template you will see there? As soon as this is done we can merge this PR.

No problem! For sure, will do.

@SoftwareEngineerChris
Copy link
Contributor Author

Oh that rebase didn't go well. Let me do that again.

Adds Data HttpResponse 'Content-Type' addition to CHANGLOG.md
@SoftwareEngineerChris
Copy link
Contributor Author

All sorted @Vkt0r - thanks.

@Vkt0r Vkt0r merged commit ca7a1ec into httpswift:stable Jul 10, 2020
@SoftwareEngineerChris SoftwareEngineerChris deleted the data-with-content-type branch July 10, 2020 19:38
tomieq pushed a commit to tomieq/swifterfork that referenced this pull request Apr 1, 2021
…-content-type

Adds Content-Type to Data HttpResponse
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