mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 15:42:26 -05:00 
			
		
		
		
	Inbox POST from federated servers now working for statuses and follow requests.
    Follow request client API added.
    Start work on federating outgoing messages.
    Other fixes and changes/tidying up.
		
	
			
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			204 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			204 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package security
 | |
| 
 | |
| import "github.com/gin-gonic/gin"
 | |
| 
 | |
| // ExtraHeaders adds any additional required headers to the response
 | |
| func (m *Module) ExtraHeaders(c *gin.Context) {
 | |
| 	c.Header("Server", "Mastodon")
 | |
| }
 |