chore: add headers.Content-type to openFileInEditor call#33517
chore: add headers.Content-type to openFileInEditor call#33517andrejborstnik wants to merge 1 commit into
Conversation
|
Hi @andrejborstnik! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
Base commit: d2e8e7d |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
|
This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
|
This is still pending review and is not stale |
|
@andrejborstnik THanks for sending over this PR.
Is this necessary for any specific reason? |
@cortinico the body sent actually is a JSON, not text, so this is a more accurate description of what the request does. For our specific use-case we only allow Happy to provide any further info |
|
Thanks for the clarification 👍 |
|
@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
This pull request was successfully merged by @andrejborstnik in 43cf78d. When will my fix make it into a release? | Upcoming Releases |
Summary
Currently the
Content-typeis not defined and defaults totext/plain. This makes it more accurate.Changelog
[internal] [Changed] - add
headers.Content-typetoopenFileInEditorcallTest Plan
openFileInEditor, e.g. by pressing on a line in a stack trace -> code editor opens