• 0

[JAVA] The Coffee Pot Protocol (RFC2324 - HTCPCP)


Question

Hey guys,

We have to implement the April fools coffee pot protocol (RFC2324 - HTCPCP) for one of our assignments in uni, i'm not asking for programming help or how to do it, just for some advice on how the protocol 'works'

Does anyone know the steps that it takes, and some information about the messages inside each stage would be appreciated.

Is it BREW or POST

Then PROPFIND

Then GET

RFC: http://www.faqs.org/rfcs/rfc2324.html

I'm just a little confused about interpreting RFC's and BNF's and how to implement it into a working program.

Edited by dave164
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
I'm sorry I can't be of help, but that's the best name I've seen for a protocol :laugh:

Personally, I'm more of an RFC 2549 person. IP over Avian Carriers with Quality of Service Yup, WITH quality of service. Much better than the plain old RFC 1149

EDIT: I should give a more serious answer since I've implemented more complex RFCs than this. There isn't really a sequence of steps. Each of BREW/POST, GET, and PROPFIND are separate methods, in the same way that GET and POST are methods in HTTP. You should really look at RFC 2616 (HTTP/1.1) which is what HTCPCP is based off. I'd also recommend using Wireshark to look at some HTTP requests (open Wireshark, start capture, open a web page, stop capture). It's a tool I've found extremely helpful in implementing some protocols.

Edited by MrA
Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.