import java.io.*;

// A variation of a class that appears in Core Web
// Programming from Prentice Hall. May be freely used
// or adapted.
// 1998 Marty Hall, http://www.apl.jhu.edu/~hall/java/

public class CgiPost extends CgiGet {
  public static void main(String[] args) {
    try {
      BufferedReader in = new BufferedReader(
                      new InputStreamReader(System.in));
      String[] data = { in.readLine() };
      CgiPost app = new CgiPost("CgiPost", data, "POST");
      app.printFile();
    } catch(IOException ioe) {
      System.out.println
        ("IOException reading POST data: " + ioe);
    }
  }

  public CgiPost(String name, String[] args,
		 String type) {
    super(name, args, type);
  }
}
