Results 1 to 7 of 7

Thread: Accept-Encoding: gzip

  1. #1
    Member
    Join Date
    Mar 2009
    Location
    Netherlands
    Age
    46
    Posts
    247
    Rep Power
    33

    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
    46
    Posts
    247
    Rep Power
    33

    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
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Leverkusen, Germany
    Age
    51
    Posts
    3,278
    Blog Entries
    2
    Rep Power
    339

    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
    Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200.

  4. #4
    Member
    Join Date
    Mar 2009
    Location
    Netherlands
    Age
    46
    Posts
    247
    Rep Power
    33

    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
    46
    Posts
    247
    Rep Power
    33

    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
    6,796
    Blog Entries
    3
    Rep Power
    693

    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 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  7. #7
    Member
    Join Date
    Mar 2009
    Location
    Netherlands
    Age
    46
    Posts
    247
    Rep Power
    33

    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

Posting Permissions

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