From f9f69080c09e496ce2c4e3e955ea461bbb1988e2 Mon Sep 17 00:00:00 2001 From: Nando Vieira Date: Sat, 3 Oct 2020 12:16:03 -0700 Subject: [PATCH] Amend readme with correct info about size limits. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3f9e1e67..0eae5204 100644 --- a/README.md +++ b/README.md @@ -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