Skip to content

allow to configure content type plugin #316

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

Merged
merged 1 commit into from
Mar 5, 2019
Merged

allow to configure content type plugin #316

merged 1 commit into from
Mar 5, 2019

Conversation

dbu
Copy link
Collaborator

@dbu dbu commented Feb 23, 2019

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Related tickets fixes #258
Documentation php-http/documentation#257
License MIT

What's in this PR?

Allow configuring the content_type plugin

Example Usage

httplug:
    clients:
        acme:
            plugins:
                - content_type:
                     skip_detection: true
                     size_limit: 200000

Checklist

  • Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix
  • Documentation pull request created (if not simply a bugfix)

@joelwurtz
Copy link
Member

I merge the doc PR, withtout seeing this (i was thinking it was already the case) sorry :s

@dbu dbu force-pushed the content-type-plugin branch from 2ffe5af to 998841b Compare March 5, 2019 10:50
@dbu dbu merged commit d053921 into master Mar 5, 2019
@dbu dbu deleted the content-type-plugin branch March 5, 2019 12:00
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.

Add support for ContentTypePlugin
2 participants