GithubHelp home page GithubHelp logo

Comments (4)

amingolmahalle avatar amingolmahalle commented on May 23, 2024 1

Please write more details about your issue. or write an example so that I understand what you mean.
Thank you

from httpclienttocurlgenerator.

kokoabim avatar kokoabim commented on May 23, 2024 1

Instead of using header.Value?.FirstOrDefault() on the following lines, use string.Join("; ", header.Value). Header values can have more than one value, e.q. Cookie, hence the type of HttpHeaders:

from httpclienttocurlgenerator.

Sabermotamedi avatar Sabermotamedi commented on May 23, 2024

Hello @amingolmahalle,

Thank you for your comment. I've received feedback from @kokoabim regarding the handling of header values in the code. The suggestion is to use string.Join("; ", header.Value) instead of header.Value?.FirstOrDefault() to accommodate cases where headers may have multiple values.

I'll make the necessary adjustments to the code to address this issue. Once the changes are complete, I'll create a pull request for your review.

If you have any specific preferences or additional considerations, please let me know.

Appreciate your attention to this matter.

from httpclienttocurlgenerator.

amingolmahalle avatar amingolmahalle commented on May 23, 2024

Hello @Sabermotamedi.
This issue is assigned to you.
Thanks.

from httpclienttocurlgenerator.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.