restsharp / restsharp/RestSharp
Allow Set for ContentType property of Parameter
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9.8k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
I can't find a way to not write Content-Type for multipart form-data post. Migrating from v106.
Describe the solution you'd like
Could allow public Set to the ContentType property of the Parameter class?
Additional context
Please check difference between v106.15.0 on the left and v110.2.0 on the right.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the Parameter class and its ContentType property, then compare the v106.15.0 and v110.2.0 implementations referenced in the issue. Done means the property can be set as requested and multipart form-data requests no longer require an unwanted Content-Type value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100