Results 1 to 2 of 2

Thread: 9760: Since relay overrides will still run on non-200 replies, don't blank out the re

  1. #1
    Feed Reader RSS Bot's Avatar
    Join Date
    Jul 2009
    Posts
    11,244

    RSS 9760: Since relay overrides will still run on non-200 replies, don't blank out the re

    9760: Since relay overrides will still run on non-200 replies, don't blank out the response text.

    However, this does raise an interesting problem with relay overrides in general ... namely, what should they be doing if they get a 302 response?

    shwei on 28/08/2011 18:02:43

    M /src/net/sourceforge/kolmafia/request/GenericRequest.java (diff)
    Download the latest KolMafia build here.
    Every new revision posted within the hour.
    New EXE builds every Monday.

  2. #2
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,338

    Default

    It's also an issue for visit_url: if the page you visit redirects, it returns immediately with a blank page. You can then issue another visit_url to go to the other page - assuming you know what it is; there are no ASH calls to indicate that the blank page is because of a redirect nor to find the redirect URL.

    I recall seeing this mentioned repeatedly over the years. A low-effort search brought up this post.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

Similar Threads

  1. Bale's Relay Overrides
    By Bale in forum Relay Override Scripts
    Replies: 291
    Last Post: 07-31-2018, 02:51 AM
  2. Feature choice Relay Overrides
    By ckb in forum Bug Reports
    Replies: 26
    Last Post: 03-06-2016, 06:56 PM
  3. Feature - Implemented whichplace Relay Overrides
    By Bale in forum Bug Reports
    Replies: 31
    Last Post: 09-11-2014, 04:39 PM
  4. Feature - Implemented Execute relay overrides in error state
    By Bale in forum Bug Reports
    Replies: 8
    Last Post: 08-12-2013, 04:58 AM
  5. Info Request: Relay Overrides & fight.php
    By StDoodle in forum Scripting Discussion
    Replies: 2
    Last Post: 11-17-2010, 03:03 PM

Posting Permissions

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