mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			fix incorrect single quotes
							parent
							
								
									5590d33d88
								
							
						
					
					
						commit
						856ee00a41
					
				
							
								
								
									
										10
									
								
								webfinger.py
								
								
								
								
							
							
						
						
									
										10
									
								
								webfinger.py
								
								
								
								
							| 
						 | 
				
			
			@ -248,14 +248,14 @@ def webfinger_meta(http_prefix: str, domain_full: str) -> str:
 | 
			
		|||
    """Return /.well-known/host-meta
 | 
			
		||||
    """
 | 
			
		||||
    meta_str = \
 | 
			
		||||
        "<?xml version=’1.0' encoding=’UTF-8'?>" + \
 | 
			
		||||
        "<XRD xmlns=’http://docs.oasis-open.org/ns/xri/xrd-1.0'" + \
 | 
			
		||||
        " xmlns:hm=’http://host-meta.net/xrd/1.0'>" + \
 | 
			
		||||
        "<?xml version='1.0' encoding='UTF-8'?>" + \
 | 
			
		||||
        "<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'" + \
 | 
			
		||||
        " xmlns:hm='http://host-meta.net/xrd/1.0'>" + \
 | 
			
		||||
        "" + \
 | 
			
		||||
        "<hm:Host>" + domain_full + "</hm:Host>" + \
 | 
			
		||||
        "" + \
 | 
			
		||||
        "<Link rel=’lrdd’" + \
 | 
			
		||||
        " template=’" + http_prefix + "://" + domain_full + \
 | 
			
		||||
        "<Link rel='lrdd'" + \
 | 
			
		||||
        " template='" + http_prefix + "://" + domain_full + \
 | 
			
		||||
        "/describe?uri={uri}'>" + \
 | 
			
		||||
        " <Title>Resource Descriptor</Title>" + \
 | 
			
		||||
        " </Link>" + \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue