Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix content-type parsing when there are options on it #692

Merged
merged 1 commit into from Feb 4, 2015

Conversation

connortechnology
Copy link
Member

I have a camera a Trendnet TV-IP302PI that when it send the mjpeg stream it gives it a content-type of image/jpeg;size=

this is legal. You can have options in the content-type. So I've added some code to find the ; and drop the rest.

@kylejohnson
Copy link
Member

Look groovy

@knight-of-ni
Copy link
Member

looks good

knight-of-ni pushed a commit that referenced this pull request Feb 4, 2015
fix content-type parsing when there are options on it
@knight-of-ni knight-of-ni merged commit eb18e27 into master Feb 4, 2015
@connortechnology connortechnology deleted the contenttype_parsing_fix branch May 14, 2015 14:05
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.

None yet

3 participants