Skip to content
This repository was archived by the owner on Apr 10, 2018. It is now read-only.
This repository was archived by the owner on Apr 10, 2018. It is now read-only.

System.UriFormatException: Uri is longer than the maximum 32766 characters #12

@simondebaecke

Description

@simondebaecke

Hi !

First, thank you for keeping this library up-to-date ! ;)

My problem is that I have a WebService that requires to send image as base64 string and obviously, sometimes it is longer than this character limit on Uri when "EscapeDataString" method is called (as < 4.5 .NET but the new limit for 4.5 .NET is in excess of 65,500 characters btw). ;)

Could you merge this issue restsharp/RestSharp@54a4d15 to resolve it ? And be sure to use "UrlEncode" method over "EscapeDataString" directly ?

I'd love to help but I'm not sure what changes to make ... Maybe you can indicate me and I'll do the rest with a pull request ? =)

Thx !

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions