Well, they shouldn't. I figured maybe they were doing something weird with buttons & clicks, but apparently not :(
I spent some time on this problem, and I have experienced the same thing you have. It doesn't matter how I use Mech to submit the "Pick Primers" - it always spits out that error. I managed to find an older version of thier code (I can't find the currently running CGI, they have only released old ones). Here is the line:
if ($query->param('Pick Primers')) {
process_input($query);
} else {
confess "Did not see the 'Pick Primers' query parameter"
}
So it's nothing fishy, I think the encoding is wrong or something. Their form encoding says:
enctype="x-www-form-urlencoded"
I wonder if that has anything to do with it? I passed that as an HTTP header and it made no difference. I think the only solution here is to use a proxy to sniff what your browser is sending and then use the same proxy to sniff what Mech is sending and try to reconcile the two.
Sorry I couldn't have been of more help.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.