Azure / Azure/azure-functions-host

php azure function can't set content type

Open
#1,554 9 comments 0 reactions 1 assignee Claimed by @alexkarcher-msft View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 10h
Merged PRs (30d)
36

Description

Please provide a succinct description of the issue.

#### Repro steps

Provide the steps required to reproduce the problem

1. create a simple php-gd script that generates an image
2. use file_put_contents(getenv('res'), "content-type:image/png".$imagedata);

#### Expected behavior

content-type is set and content is parsed proproply

#### Actual behavior

parsed as json

#### Known workarounds

none i could find

#### Related information

Provide any related information

* Programming language used PHO
* Links to source

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.