Results 1 to 7 of 7

Thread: Accept-Encoding: gzip

  1. #1
    Member
    Join Date
    Mar 2009
    Location
    Netherlands
    Age
    52
    Posts
    248
    Rep Power
    40

    Accept-Encoding: gzip

    Hello everybody,

    I discovered ThinBasic 3 days ago and I just love it!  :P

    But I have a problem and I hope that some of you can solve it. I need to know how to send the "Accept-Encoding: gzip" header. Can I do this with an INET command or any other command? I really need this to acces the Discogs API http://www.discogs.com/help/api

    Many thanks in advance for your help!

    Martin

  2. #2
    Member
    Join Date
    Mar 2009
    Location
    Netherlands
    Age
    52
    Posts
    248
    Rep Power
    40

    Re: Accept-Encoding: gzip

    I am a little bit futher...I think a must use COM_CreateObject. I will try that...but in the meantime suggestions are welcome ;-)

  3. #3

    Re: Accept-Encoding: gzip

    Hi martin, welcome on the board.

    I guess you have to wait for Eros as he knows things much much better when it comes to thinBasic and website communication.

    Michael

  4. #4
    Member
    Join Date
    Mar 2009
    Location
    Netherlands
    Age
    52
    Posts
    248
    Rep Power
    40

    Re: Accept-Encoding: gzip

    Thanks, I hope he is back here soon because I still can't figure it out how this must done

  5. #5
    Member
    Join Date
    Mar 2009
    Location
    Netherlands
    Age
    52
    Posts
    248
    Rep Power
    40

    Re: Accept-Encoding: gzip

    Problem solved. I made a mistake in the request-url. It works fine now with INET.

  6. #6
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: Accept-Encoding: gzip

    Congratulations,

    Eros is ill so he could not respond, and I do not understand this things.
    So you did not have to use COM in the end?


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  7. #7
    Member
    Join Date
    Mar 2009
    Location
    Netherlands
    Age
    52
    Posts
    248
    Rep Power
    40

    Re: Accept-Encoding: gzip

    No, that was not necessary.
    If I understand correctly, INET sends an Accept-Encoding command automaticly by itself.

Similar Threads

  1. encoding Encyclopedia Britannica in one dot
    By zak in forum Shout Box Area
    Replies: 12
    Last Post: 20-08-2011, 08:47

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •