Changeset 9138
- Timestamp:
- 2005-02-22T16:03:35+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/w32server/cgiwrapper.cpp
r9117 r9138 816 816 } 817 817 delete response_data_c; 818 } else { 818 } 819 else if (response == undecided_location) { 820 // We know this is a relocation request but at the moment we don't know exactly where to 821 // Just output the start of the header and wait until later to output the target location 822 // Used for the "I'm feeling lucky" functionality 823 cout << "HTTP/1.0 302 Relocation\r\n"; 824 cout << "Server: GSDL\r\n"; 825 cout << "Content-type: text/html \r\n"; 826 } 827 else { 819 828 // unknown response 820 829 cerr << "Error: get_cgihead_info returned an unknown response type.\n"; … … 824 833 textstream.tsbreset(); 825 834 textstream.setrequestinfo (RInfo); 826 827 835 if (!recpt.produce_content (args, cout, cerr)) { 828 836 page_errorcgipage(gsdl_gsdlhome);
Note:
See TracChangeset
for help on using the changeset viewer.