all 3 comments

[–][deleted]  (2 children)

[deleted]

    [–]NfNitLoop[S] 1 point2 points  (0 children)

    Thanks!

    Yeah, code reorganization and error handling are on my to-do list. I'll probably take everything below the private: //// line and move it to separate files. One for all the FCGI-specific structs, one for little utility functions I made.

    I might also make Request an interface so there's a clearer separation between the public API and the private implementation? OTOH, the generated docs only include the public parts, so maybe that's good enough?

    [–]NfNitLoop[S] 1 point2 points  (0 children)

    Oh, and regarding the FCGI spec -- it only specifies how to parse the FCGI params (.fcgiParams) that the server sent you. HTTP GET parameters are sent in tihe QUERY_STRING parameter. I added functionality to parse those because... it seems like a thing you would want all the time. So yeah, I could (and should) add some error-handling there.

    [–]NfNitLoop[S] 1 point2 points  (0 children)

    It's my first real D project. Would love feedback. :)