Module vipin

vipin.erl.

Authors: Vipin Puri [web site: http://picopeta.com], Michael McDaniel [web site: http://autosys.us].

References

Description

vipin.erl

Function Index

foo/2 Added for Hynek.
go/0 Demonstrates 411 Length Required error
 Vipin's original
 
go_a/0 Demonstrates 411 Length Required error
 Michael's test, with Content-Length 0 included
 
go_b/0 Demonstrates valid return from Google,
 Michael's test again, including Body of non-zero-length,
 and headers AccountType and  Content-Length
 Though we receive error from Google, it is because of sending
 wrong _data_ now (bad authentication), not malformed request.
 

Function Details

foo/2

foo() -> term()

Added for Hynek. foo(X::integer(), Y::integer()) -> true; foo(X::atom(), Y::atom()) -> false;

go/0

go() -> {ok, Response}

Demonstrates 411 Length Required error

 Vipin's original
 

go_a/0

go_a() -> {ok, Response}

Demonstrates 411 Length Required error

 Michael's test, with Content-Length 0 included
 

go_b/0

go_b() -> {ok, Response}

Demonstrates valid return from Google,

 Michael's test again, including Body of non-zero-length,
 and headers AccountType and  Content-Length
 Though we receive error from Google, it is because of sending
 wrong _data_ now (bad authentication), not malformed request.
 


Generated by EDoc, Oct 28 2007, 12:50:41.