File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed 
simple-streamablehttp-stateless/mcp_simple_streamablehttp_stateless 
simple-streamablehttp/mcp_simple_streamablehttp Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ async def lifespan(app: Starlette) -> AsyncIterator[None]:
132132        ],
133133        lifespan = lifespan ,
134134    )
135-      
135+ 
136136    # Wrap ASGI application with CORS middleware to expose Mcp-Session-Id header 
137137    # for browser-based clients (ensures 500 errors get proper CORS headers) 
138138    starlette_app  =  CORSMiddleware (
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ async def lifespan(app: Starlette) -> AsyncIterator[None]:
160160        ],
161161        lifespan = lifespan ,
162162    )
163-      
163+ 
164164    # Wrap ASGI application with CORS middleware to expose Mcp-Session-Id header 
165165    # for browser-based clients (ensures 500 errors get proper CORS headers) 
166166    starlette_app  =  CORSMiddleware (
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments