aboutsummaryrefslogblamecommitdiffstats
path: root/test/http_SUITE_data/http_init_shutdown.erl
blob: 5aae89827b7c5553de0d5ec64e7a5cd5f3b5f5eb (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           
                            
 


                  
                                                                
                                                        
                                    
%% Feel free to use, reuse and abuse the code in this file.

-module(http_init_shutdown).

-export([init/2]).

init(Req, _) ->
	Req2 = cowboy_req:reply(<<"666 Init Shutdown Testing">>,
		[{<<"connection">>, <<"close">>}], Req),
	{shutdown, Req2, undefined}.