Skip to content

Commit

Permalink
Amend readme with correct info about size limits.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando committed Oct 3, 2020
1 parent 30548f4 commit f9f6908
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,16 +352,16 @@ end

### Restrictions

- User agent has a size limit of 1024 bytes. This can be customized through
- User agent has a size limit of 2048 bytes. This can be customized through
`Browser.user_agent_size_limit=(size)`.
- Accept-Language has a size limit of 1024 bytes. This can be customized through
- Accept-Language has a size limit of 2048 bytes. This can be customized through
`Browser.accept_language_size_limit=(size)`.

If size is not respected, then `Browser::Error` is raised.

```ruby
Browser.user_agent_size_limit = 2048
Browser.accept_language_size_limit = 2048
Browser.user_agent_size_limit = 4096
Browser.accept_language_size_limit = 4096
```

## Development
Expand Down

0 comments on commit f9f6908

Please sign in to comment.